#include "searcher.hpp"

const std::string input = "data/output/dest.txt";

int main()
{
    ns_searcher::Searcher *searcher = new ns_searcher::Searcher();
    searcher->SearcherInit(input);

    while(1)
    {
        std::string jsonstring;
        std::string query;
        std::cout<<"Please enter your query:";
        std::cin>>query;
        searcher->Search(query,&jsonstring);
        std::cout<<jsonstring<<std::endl;
    }

}
